defmodule Whithat.MixProject do
	use Mix.Project

	def project do
		[
			app: :whithat,
			version: "0.0.1",
			elixir: "~> 1.8",
			start_permanent: Mix.env() == :prod,
			deps: deps(),
			escript: escript()
		]
	end

	# Run "mix help compile.app" to learn about applications.
	def application do
		[
			extra_applications: [:logger]
		]
	end

	# Run "mix help deps" to learn about dependencies.
	defp deps do
		[
			{:jason, "~> 1.2"},
			{:httpoison, "~> 1.6"},
			{:stream_gzip, "~> 0.4"},
			{:progress_bar, "> 0.0.0"}
		]
	end

	defp escript do
		[main_module: Whithat]
	end
end

